]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
recorder: Fix more fallout from session-mode changes
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Sep 2012 12:27:37 +0000 (14:27 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 13 Sep 2012 12:29:59 +0000 (14:29 +0200)
js/ui/components/recorder.js

index 94c49ce405d5011161e3eec48238b0c47b29e195..69d8d6d14d416ea336c7f0cb495928d56af119fd 100644 (file)
@@ -36,13 +36,13 @@ const Recorder = new Lang.Class({
         if (recorder.is_recording()) {
             recorder.close();
             Meta.enable_unredirect_for_screen(global.screen);
-        } else if (!desktopLockdownSettings.get_boolean('disable-save-to-disk')) {
+        } else if (!this._desktopLockdownSettings.get_boolean('disable-save-to-disk')) {
             // read the parameters from GSettings always in case they have changed
-            recorder.set_framerate(recorderSettings.get_int('framerate'));
+            recorder.set_framerate(this._recorderSettings.get_int('framerate'));
             /* Translators: this is a filename used for screencast recording */
             // xgettext:no-c-format
-            recorder.set_filename(_("Screencast from %d %t") + '.' + recorderSettings.get_string('file-extension'));
-            let pipeline = recorderSettings.get_string('pipeline');
+            recorder.set_filename(_("Screencast from %d %t") + '.' + this._recorderSettings.get_string('file-extension'));
+            let pipeline = this._recorderSettings.get_string('pipeline');
 
             if (!pipeline.match(/^\s*$/))
                 recorder.set_pipeline(pipeline);